Microsoft DirectX 8.1 (C++)

AMTimelineTrack.SrcAdd Method

The AMTimelineTrack.SrcAdd method adds a source to the track.

Syntax

object.SrcAdd(
    pSrc As AMTimelineObj
)

Parameters

pSrc

The AMTimelineObj object to add.

Error Codes

If the method fails, an error is raised, and Err.Number can be set to the following value:

Value Description
E_NOINTERFACE The object specified by pSrc is not a source object.

Remarks

Set the source's start and stop times before calling this method. (Call the AMTimelineObj.SetStartStop method.)

Currently, DES cannot simultaneously render more than 75 sources that were compressed with Video Compression Manager (VCM) codecs. Also, if the project as a whole contains more than 75 such sources, you must use dynamic reconnection or DES cannot preview the project. For more information, see RenderEngine.SetDynamicReconnectLevel.

See Also